package com.sip.stream.utils.zfy.config;

import com.google.gson.annotations.SerializedName;
import java.util.ArrayList;

public class ZFYOSDConfig {
    public static final String SAVE_KEY = "ZFYOSDConfig";

    @SerializedName("ts")
    private ArrayList<ZFYOSDBeanConfig> topStart = new ArrayList<>();
    @SerializedName("te")
    private ArrayList<ZFYOSDBeanConfig> topEnd = new ArrayList<>();
    @SerializedName("bs")
    private ArrayList<ZFYOSDBeanConfig> bottomStart = new ArrayList<>();
    @SerializedName("be")
    private ArrayList<ZFYOSDBeanConfig> bottomEnd = new ArrayList<>();

    //反色开关 （黑白 / 白）
    @SerializedName("i")
    private boolean osdInvert = true;

    public static ZFYOSDConfig defaultConfig() {
        ZFYOSDConfig zFYOSDConfig = new ZFYOSDConfig();
        zFYOSDConfig.topStart.add(new ZFYOSDBeanConfig(1, "OSD_LOC"));
        zFYOSDConfig.topEnd.add(new ZFYOSDBeanConfig(1, "OSD_TIMESTAMP"));
        zFYOSDConfig.bottomStart.add(new ZFYOSDBeanConfig(0, "userName userCode"));
        zFYOSDConfig.bottomEnd.add(new ZFYOSDBeanConfig(0, "unitName"));
        zFYOSDConfig.bottomEnd.add(new ZFYOSDBeanConfig(0, "unitCode"));
        zFYOSDConfig.bottomEnd.add(new ZFYOSDBeanConfig(0, "DeviceSN"));
        return zFYOSDConfig;
    }

    public ArrayList<ZFYOSDBeanConfig> getTopStart() {
        return this.topStart;
    }

    public void setTopStart(ArrayList<ZFYOSDBeanConfig> arrayList) {
        this.topStart = arrayList;
    }

    public ArrayList<ZFYOSDBeanConfig> getTopEnd() {
        return this.topEnd;
    }

    public void setTopEnd(ArrayList<ZFYOSDBeanConfig> arrayList) {
        this.topEnd = arrayList;
    }

    public ArrayList<ZFYOSDBeanConfig> getBottomStart() {
        return this.bottomStart;
    }

    public void setBottomStart(ArrayList<ZFYOSDBeanConfig> arrayList) {
        this.bottomStart = arrayList;
    }

    public ArrayList<ZFYOSDBeanConfig> getBottomEnd() {
        return this.bottomEnd;
    }

    public void setBottomEnd(ArrayList<ZFYOSDBeanConfig> arrayList) {
        this.bottomEnd = arrayList;
    }

    public boolean isOsdInvert() {
        return this.osdInvert;
    }

    public void setOsdInvert(boolean osdInvert) {
        this.osdInvert = osdInvert;
    }
}
